export default class Singer {
  constructor(country, singer_id, singer_mid, singer_name, singer_pic, tag) {
    this.country = country
    this.id = singer_id
    this.name = singer_name

    if (!singer_pic) {
      this.avatar = `https://y.gtimg.cn/music/photo_new/T001R300x300M000${singer_mid}.jpg?max_age=2592000`
    } else {
      this.avatar = singer_pic
    }
    this.singer_mid = singer_mid
    this.tag = tag
  }
}
